package com.ruoyi.yanjing.service.impl;

import com.ruoyi.yanjing.domain.Weather;
import com.ruoyi.yanjing.mapper.YearSafeStatisticsMapper;
import com.ruoyi.yanjing.service.YearSafeStatisticsService;
import com.ruoyi.yanjing.vo.SafetyScenarioStatistics;
import com.ruoyi.yanjing.vo.YearSafeStatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class YearSafeStatisticsServiceImpl implements YearSafeStatisticsService {

    @Autowired
    private YearSafeStatisticsMapper yearSafeStatisticsMapper;


    @Override
    public YearSafeStatistics getYearSafeStatisticsData()
    {
        return yearSafeStatisticsMapper.getYearSafeStatisticsData();
    }

    @Override
    public SafetyScenarioStatistics getSafetyScenarioStatisticsData()
    {
        return yearSafeStatisticsMapper.getSafetyScenarioStatisticsData();
    }

}
